package top.yangyitao.service;

import java.util.List;

import org.springframework.data.domain.Page;

import top.yangyitao.entity.User;

public interface UserService {
	public User findByUsername(String username);
	public User getOne(long id);
	public Page<User> getUserPage(Integer pageNumber,Integer pageSize,Long role_id,Long organizationId,String search);
	public void save(User user);
	public void save(List<User> users);
	public void delete(List<User> users);
	public void delete(User user);
	public List<User> findAllById(List<Long> ids);
}
